<template>
    <span>
        <button @click="updateCounter">增加点击数</button>
    </span>
</template>
<script>
export default {
    name: "counter",
    props: {
        value:0
    },
    methods: {
        updateCountr () {
            this.$emit();
        }
    }
}
</script>